package com.baba.vote.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.baba.vote.pojo.VotePeople;

/**
 * @author moxinHuoHuo
 * @create 2020/4/16 下午1:35
 */
public interface VotePeopleMapper {
  int deleteByPrimaryKey(String uid);

  int insert(VotePeople record);

  int insertSelective(VotePeople record);

  VotePeople selectByPrimaryKey(String uid);

  int updateByPrimaryKeySelective(VotePeople record);

  int updateByPrimaryKey(VotePeople record);

  Integer countByVoteActId(@Param("voteActId")Integer voteActId);

  VotePeople findByUidAndVoteActId(@Param("uid")String uid,@Param("voteActId")Integer voteActId);

  int deleteByVoteActId(@Param("voteActId")Integer voteActId);





}